import 'package:get/get.dart';

class CounterController extends GetxController {
  int _counter = 0;

  get counter => _counter;

  void increment() {
    _counter++;
    update();
  }

  static CounterController get to => Get.find();
}
